package com.mx.zb.md.base.bo;

public class User {

	private String name;
	private Integer age;
	
	//因为JSON转对象时需要这个默认构造函数，所以这里必须加上
	public User() {
		
	}
	
	public User(String name, Integer age) {
		this.name = name;
		this.age = age;
	}
	
	@Override
	public String toString() {
		return "The user name="+name+", age="+age;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}
	
	
}
